﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DataShow.codeModel
{
    public class RainResult
    {
        public string Time { get; set; }
        private string type;
        public string Type { get { return Convert(type); } set { type = value; } }
        public string Station { get; set; }
        public string ShiKuang { get; set; }

        private string Convert(string input)
        {
            switch (input)
            {
                case "D82": return "08-20时降水量";
                case "D28": return "20-08时降水量";
                case "D22": return "20-20时降水量";
                case "D88": return "08-08时降水量";
                default: return "未知";
            }
        }
    }
}